package com.ruoyi.wm.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医疗器械入库记录对象 wm_apparatus_instorage_list
 * 
 * @author hpf
 * @date 2021-11-25
 */
public class WmApparatusInstorageList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 入库时间 */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 供货单位 */
    @Excel(name = "供货单位")
    private String supplier;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String standard;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 购进数量 */
    @Excel(name = "购进数量")
    private Integer number;

    /** 本批次剩余数量 */
    private Integer remainNum;



    /** 生产企业 */
    @Excel(name = "生产企业")
    private String producer;

    /** 许可证号 */
    @Excel(name = "许可证号")
    private String permissionNum;

    /** 注册证号 */
    @Excel(name = "注册证号")
    private String registerNum;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private String batchNum;

    /** 灭菌批号 */
    @Excel(name = "灭菌批号")
    private String sterilisatioNum;

    /** 有效期 */
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 质量情况 */
    @Excel(name = "质量情况")
    private String quality;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 发票号码 */
    @Excel(name = "发票号码")
    private String receipt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStandard(String standard) 
    {
        this.standard = standard;
    }

    public String getStandard() 
    {
        return standard;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setProducer(String producer) 
    {
        this.producer = producer;
    }

    public Integer getRemainNum() {
        return remainNum;
    }

    public void setRemainNum(Integer remainNum) {
        this.remainNum = remainNum;
    }

    public String getProducer() 
    {
        return producer;
    }
    public void setPermissionNum(String permissionNum) 
    {
        this.permissionNum = permissionNum;
    }

    public String getPermissionNum() 
    {
        return permissionNum;
    }
    public void setRegisterNum(String registerNum) 
    {
        this.registerNum = registerNum;
    }

    public String getRegisterNum() 
    {
        return registerNum;
    }
    public void setBatchNum(String batchNum) 
    {
        this.batchNum = batchNum;
    }

    public String getBatchNum() 
    {
        return batchNum;
    }
    public void setSterilisatioNum(String sterilisatioNum) 
    {
        this.sterilisatioNum = sterilisatioNum;
    }

    public String getSterilisatioNum() 
    {
        return sterilisatioNum;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }
    public void setQuality(String quality) 
    {
        this.quality = quality;
    }

    public String getQuality() 
    {
        return quality;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setReceipt(String receipt) 
    {
        this.receipt = receipt;
    }

    public String getReceipt() 
    {
        return receipt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("time", getTime())
            .append("supplier", getSupplier())
            .append("name", getName())
            .append("standard", getStandard())
            .append("unit", getUnit())
            .append("number", getNumber())
            .append("producer", getProducer())
            .append("permissionNum", getPermissionNum())
            .append("registerNum", getRegisterNum())
            .append("batchNum", getBatchNum())
            .append("sterilisatioNum", getSterilisatioNum())
            .append("deadline", getDeadline())
            .append("quality", getQuality())
            .append("price", getPrice())
            .append("receipt", getReceipt())
            .toString();
    }
}
